<template>
  <div class="title-bar">
      <div class="left"><slot name="left"></slot></div>
      <div class="center"><slot name="center"></slot></div>
      <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
  export default {
    name:'titleBar',
  }
</script>

<style scoped lang="scss">
.title-bar{
  display: flex;
  line-height: 44px;
  height: 44px;
}

.right,
.left{
  width: 90px;
  text-align: center;
}
.center{
  flex: 1;
  text-align: center;
}

</style>